package file;

import java.io.File;

public class MkDirDemo {
    public static void main(String[] args) {
        File file = new File("./abc/asd/qwe");

        if (file.exists()){
            System.out.println("文件目录以存在");
        }else {
            file.mkdirs();
            System.out.println("文件目录以创建");
        }
    }
}
